﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Visio = Microsoft.Office.Interop.Visio;

namespace SPNetworkTopology
{
    class GenerateDiagramProperties
    {
        public Visio.Document VisioDocument
        {
            get
            {
                return VisioObjects.visDocument ?? VisioObjects.visApplication.ActiveDocument;
            }
        }

        public int FarmRowID
        {
            get;
            set;
        }       

        public List<int> ServerRowIDList
        {
            get;
            set;
        }

        public List<ServerRowIDCollection> ServiceRowIDList
        {
            get;
            set;
        }

        public Visio.DataRecordset CurrentDocumentRecordSet
        {
            set;
            get;
        }

        public string ObjectTypeFriendlyName
        {
            set;
            get;
        }

        public string ServerNameObjectFriendlyName
        {
            set;
            get;
        }

        public string ServiceNameObjectFriendlyName
        {
            set;
            get;
        }

        public GenerateDiagramProperties()
        {
            this.ServerRowIDList = new List<int>();
            this.ServiceRowIDList = new List<ServerRowIDCollection>();
            this.ObjectTypeFriendlyName = String.Empty;
            this.FarmRowID = int.MinValue;
        }
    }
}
